var express = require('express');
var router = express.Router();
let { listModel } = require("../model/model")

// 添加数据
router.post("/addlist", async (req, res) => {
  await listModel.create(req.body)
  res.send({
    code: 200,
    msg: "添加成功"
  })
})


module.exports = router;
